package com.jinxin.platform.cdacsrecord.core.service;

import com.jinxin.platform.cdacsrecord.core.pojo.entity.Constant;
import com.jinxin.platform.cdacsrecord.core.pojo.vo.ResultVO;
import com.jinxin.platform.cdacsrecord.core.pojo.vo.ResultVO2;
import com.jinxin.platform.cdacsrecord.core.pojo.vo.ResultVO3;

/**
 * All rights Reserved, Designed By www.beonelot.com
 *
 * @version: V1.0
 * @Copyright: www.beonelot.com Inc. All rights reserved.
 * @Description：
 * @Date: 2020-07-28
 * @Author: Lingnan
 **/
public class BaseService {

    protected boolean isSucceed(ResultVO2 resultVO) {
        return resultVO != null && resultVO.getRstId().equals(Constant.ETO_TOKEN_RSTID_SUCCESS);
    }
    protected boolean isSucceed2(ResultVO resultVO) {
        return resultVO != null && resultVO.getRstId().equals(Constant.ETO_TOKEN_RSTID_SUCCESS);
    }
    protected boolean isSucceed3(ResultVO3 resultVO) {
        return resultVO != null && resultVO.getRstId().equals(Constant.ETO_TOKEN_RSTID_SUCCESS);
    }

}
